#ifndef BLOCK_H
#define BLOCK_H

#include <vector>
#include <string>

using namespace std;

class Block {
public:
	static const int MAX_PW_LEN = 5;
	static const int NOT_STARTED = 0;
	static const int IN_WORK = 1;
	static const int COMPLETE = 2;

private:
	int status;
	unsigned int id;
	string startPoint;
	string endPoint;

public:
	Block(unsigned int blockid, string sp, string ep);
	int get_status() const {return status;}
	void set_status(int new_status) {status = new_status;}
	string get_sp() {return startPoint;}
	string get_ep() {return endPoint;}
	unsigned int get_id() {return id;}
};

#endif
